package com.hospital.hms.dao;

import com.hospital.hms.pojo.DoctorWorkPlanSchedule;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;

@Mapper
public interface DoctorWorkPlanScheduleDao {
    public void insert(DoctorWorkPlanSchedule doctorWorkPlanSchedule);

    ArrayList<HashMap> selectDoctorScheduleByDeptSubIdAndDate(Map param);

    public ArrayList<HashMap> selectScheduleByWorkPlanId(int workPlanId);

    ArrayList<HashMap> selectScheduleByDeptSub(Map param);

    public void deleteByIds(ArrayList<Integer> ids);

    public long selectSumNumByIds( ArrayList<Integer> ids);

    public void update(Map param);

    public void deleteByWorkPlanId(int workPlanId);

    public ArrayList<HashMap> selectDoctorWorkPlanSchedule(Map param);

    public void updateNumById(HashMap param);
}
